<?
    //Route map its the set of constants for external and internal usage.

    //Internal part
    define('_ROOT_', dirname(__FILE__)."/../");
    define('_APP_', _ROOT_."application/");
    define('_SYS_', _ROOT_."system/");

    //External part
    define('web_design', domain."data/design/");
    define('web_images', domain."data/images/");
    define('web_jquery', domain."data/jquery/");

    $link = $_SERVER['REQUEST_URI'];
    $parts = explode("&", $link);
    define('web_self', domain.$_GET['controller']);
    define('web_refferer', $_SERVER["HTTP_REFERER"]);

?>